package com.hazardSoft.eStore.interfaces;

import java.util.List;

import javax.ejb.Local;

import com.hazardSoft.eStore.common.exception.SystemException;
import com.hazardSoft.eStore.entities.Inventory;
import com.hazardSoft.eStore.entities.Office;
import com.hazardSoft.eStore.entities.Product;

public @Local interface InventoryLocal {
	public Inventory insertInventory(Inventory inventory) throws SystemException;
	public Inventory updateInventory(Inventory inventory) throws SystemException;
	public List<Inventory> searchInventoriesByOffice(Office office) throws SystemException;
	public List<Inventory> searchInventoriesByProduct(Product product) throws SystemException;
	public Inventory searchInventory(Office office, Product product) throws SystemException;
}
